import Layout from 'src/layout'

export default {
  path: '/operation',
  component: Layout,
  redirect: '/operation/banner',
  name: 'Operation',
  meta: {
    title: '运营',
    icon: 'dashboard'
  },
  children: [
    {
      path: 'banner',
      name: 'Banner',
      component: () => import('src/views/operation/Banner.vue'),
      meta: {title: 'Banner'}
    },
    {
      path: 'addBanner',
      name: 'AddBanner',
      component: () => import('src/views/operation/AddBanner.vue'),
      meta: {title: '添加Banner'}
    },
    {
      path: "ad",
      name: "Ad",
      component: () => import('src/views/operation/AD.vue'),
      meta: {
        title: "广告"
      }
    },
    {
      path: 'pageProductSetting',
      name: 'PageProductSetting',
      component: () => import('src/views/operation/PageProductSetting.vue'),
      meta: {title: '页面产品配置'}
    },
    {
      path: 'productClassifySetting',
      name: 'ProductClassifySetting',
      component: () => import('src/views/operation/ProductClassifySetting.vue'),
      meta: {title: '产品分类配置'}
    },
    {
      path: 'channel',
      name: 'Channel',
      component: () => import('src/views/operation/Channel.vue'),
      meta: {title: '渠道'}
    },
    {
      path: "message_push",
      name: "Message_push",
      component: () => import('src/views/operation/MessagePush.vue'),
      meta: {
        title: "消息推送"
      }
    },
    {
      path: 'rateCardSetting',
      name: 'RateCardSetting',
      component: () => import('src/views/operation/RateCardSetting.vue'),
      meta: {title: '减息卡配置'}
    },
    {
      path: "app_cash_back_card_config",
      name: "app_cash_back_card_config",
      component: () => import('src/views/operation/AppRateCardSetting.vue'),
      meta: {
        title: "配置产品减息卡"
      }
    }

  ]
}
